package com.dongdong.bookstore.module.ums.mapper;

import com.dongdong.bookstore.module.ums.model.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 后台资源  Mapper 接口
 * </p>
 *
 * @author chiangkai
 * @since 2021-10-20
 */
public interface ResourceMapper extends BaseMapper<Resource> {

    List<Resource> getResouceListByAdminId(Long adminId);

    List<Resource> getResouceListByRoleId(Long roleId);
}
